package cn.hchaojie.camp.week1.qa;

public class Ex8RandomMonth {
	private static final String[] NAMES = {
		"一", "二", "三", "四", "五", "六", "七", "八", "九", "十", "十一", "十二"
	};
	
	private static final String MONTH_NAME = "月";
	
	public static void main(String[] args) {
		
		if (true) {
			return;		// 单独一个return关键字，可以提前跳出方法。
		}
		
		for (int i = 0; i < 20; i++) {
			int month = (int) (Math.random() * 12 + 1); 
			
			System.out.println(NAMES[month - 1] + MONTH_NAME);
		}
	}
	
	public void f1(int i, double d) {
		
	}
	
	public void f1(double d, int i) {
		
	}
	
	public static void foo() {
		return;
	}
}
